<?php
namespace app\admin\controller;

use think\Hook;

class Index extends Base
{
    public function index() {
        Hook::listen('index');
//        return 'dsfds';
        return $this->fetch("index");
    }

    public function user(){
//        Hook::listen('')
        return $this->fetch();
    }

    public function role(){
        return $this->fetch();
    }

    public function other(){
        return $this->fetch();
    }
    public function test(){
        $this->redirect('admin/admin/login');
    }
    /*public function header(){
        return $this->fetch("index/header");
    }

    public function left(){
        return $this->fetch("index/left");
    }

    public function content(){
        return $this->fetch("index/content");
    }*/
}
